<script>
export default {
  beforeCreate() {
    const { path, name, params, query } = this.$route.params
    this.$router.replace({ path, name, query, params })
  },
  render: function (h) {
    return h()
  },
}
</script>
